package day03;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

//运算符的演示
public class OperDemo {
    public static void main(String[] args) {
      int  a=10,b=10,c=19;














    /*    // boolean? 数1：数2
        int  a=6;
        int flag= a>5?1:-1;
        System.out.println(flag);
         int b=53,c=86;
         int max=b>c?b:c;
        System.out.println(max);








        System.out.println(10+20+""+30);
        System.out.println(10+""+20+30);
        System.out.println("1"+10+12+32);

        int a= 12,b=6,c=8;
        a+=10;
        System.out.println(a);//22
        short d=16;
        d+=10;
        d=(short) (d+10);
        System.out.println(d);//36
        a/=b;
        System.out.println(a);//3
        a*=c;
        System.out.println(a);//24

        String q="李信德";
        String w="难道是一只乌龟";
        String s;
        s=q+w;
        System.out.println(s);
       double a=2.5;
        //大家好，我是练习时长2.5年的个人练习生，喜欢唱、跳、rap、篮球，music！
        System.out.println("大家好，我是练习时长"+a+"年的个人练习生，喜欢唱、跳、rap、篮球、music!");
        int b=1,c=13;
        long d=18732810031L;
        System.out.println("我家住在翻斗花园"+b+"号楼"+c+"单元"+"我的手机号是"+d);
*/






























        /*
        int  age=39;
        int score = 82;
        System.out.println(score>=0 && score<=100);
        System.out.println(age>=18 && age<=50);

        int a=6,b=7,c=8;
        boolean aa=!(a>b);  //true
        System.out.println(aa);//
        boolean bb=!(a<b);
        System.out.println(bb);//false
        boolean cc=!(b>c);
        System.out.println(cc);//true
        System.out.println(a>b||a>c);//false
        System.out.println(a<b||a<c);//true

       */

       /*
        System.out.println(a++>c); //false
        System.out.println(a>=b);  //true
        System.out.println(++b==c);//true
        System.out.println(a>b);   //false
        System.out.println(a<c);   //true
        System.out.println(b<=c);  //true
        System.out.println(a+c>b); //true
        System.out.println(a++>b++);//false

        */























        /* int a=10,b=20,c=5,d=6;
        a++;
        ++a;
        b++;
        b=++a;
        c--;
        --d;

        System.out.println(a);
        System.out.println(b);

        */



    }


}
